<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>Notes</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport"
    content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="static/themes/vue.min.css">
  <link rel="stylesheet" href="static/plugins/sidebar/sidebar.min.css">
  <link rel="stylesheet" href="static/plugins/sidebar/sidebar-folder.min.css">
  <link rel="stylesheet" href="static/plugins/mermaid/mermaid.min.css">
  <script src="static/plugins/mermaid/mermaid.min.js"></script>
</head>

<body>
  <div id="MyNotes"></div>
  <script src="static/lib/jquery-3.6.0.min.js"></script>
  <script>
    var num = 0;
    mermaid.initialize({ startOnLoad: false });

    window.$docsify = {
      el: '#MyNotes',
      name: '',
      repo: '',
      basePath: '/scii/Notes/',
      logo: '/scii/static/icon.svg',
      homepage: 'readme.md',
      loadSidebar: true,
      // 读取H标签层级
      subMaxLevel: 3,
      autoHeader: true,
      search: 'auto',
      maxLevel: 3,
      executeScript: true,
      mergeNavbar: true,
      // 目录收缩
      alias: {
        '/.*/_sidebar.md': '/_sidebar.md',
      },
      // set sidebar display level
      sidebarDisplayLevel: 1, 
      //相对路径relativePath: true,
      topMargin: 90, // default: 0

      // auto2top: true,


      // countable 设置
      count: {
        countable: true,
        fontsize: '0.9em',
        color: 'rgb(90,90,90)',
        language: 'chinese'
      },

      // markdown 设置
      markdown: {
        renderer: {
          code: function (code, lang) {
            if (lang === "mermaid") {
              return (
                '<div class="mermaid">' + mermaid.render('mermaid-svg-' + num++, code) + "</div>"
              );
            }
            return this.origin.code.apply(this, arguments);
          }
        }
      },

    }
    //alert($.prototype.jquery);//输出JS版本
  </script>
  <script src="static/lib/docsify.min.js"></script>
  <script src="static/plugins/search.min.js"></script>
  <script src="static/plugins/docsify-copy-code.min.js"></script>
  <script src="static/plugins/countable.min.js"></script>
  <script src="static/plugins/docsify-pagination.min.js"></script>
  <script src="static/plugins/sidebar/docsify-sidebar-collapse.min.js"></script>


</body>

</html>